package application.LoginAndAdministrationModule;

import application.client.data.Address;



public class PersonData
{

	//te dane chcemy od interfejsu
	int id;
	String name;
	String surname;
	String login;
	String password;
	int rights;
	Address address;
	String eMail;
	String phoneNumber;
	
	
	public PersonData(int id, String name,String surname, String login, String password, Address address, String eMail, String phoneNumber)
	{
		this.id = id;
		this.name = name;
		this.surname = surname;
		this.login = login;
		this.password = password;
		this.address = address;
	}//to narazie nigdzie nam si� nie przydaje
	
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getPhoneNumber() {
		return phoneNumber;
	}

	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}

	public PersonData(){};
	

	
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}

	public String getSurname() {
		return surname;
	}

	public void setSurname(String surname) {
		this.surname = surname;
	}

	public String getLogin()
	{
		return login;
	}
	
	public void setLogin(String login) {
		this.login = login;
	}
	
	public String getPassword()
	{
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}
	
	public int getRights() {
		return rights;
	}
	
	public void setRights(int right) {
		this.rights = right;
	}

	public Address getAddress() {
		return address;
	}
	
	public void setAddress(Address address) {
		this.address = address;
	}
	public String geteMail() {
		return eMail;
	}
	
	public void seteMail(String eMail) {
		this.eMail = eMail;
	}
	public String getephoneNumber() {
		return phoneNumber;
	}
	
	public void setphoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}
}